package com.example.exam.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author author
 * @since 2024-03-28
 */
@TableName("exam.rolepermission")
public class Rolepermission implements Serializable {


    @TableId("role_id")
    private Integer roleId;

    @TableField("permission_id")
    private Integer permissionId;


    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public Integer getPermissionId() {
        return permissionId;
    }

    public void setPermissionId(Integer permissionId) {
        this.permissionId = permissionId;
    }

    @Override
    public String toString() {
        return "Rolepermission{" +
                "roleId=" + roleId +
                ", permissionId=" + permissionId +
                "}";
    }
}
